home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / share / aclocal-1.4 / ptrdiff.m4 < prev    next >
Encoding:
M4 Source File  |  2005-10-16  |  367 b   |  13 lines

  1. # From Ulrich Drepper.
  2.  
  3. # serial 1
  4.  
  5. AC_DEFUN([AM_TYPE_PTRDIFF_T],
  6.   [AC_CACHE_CHECK([for ptrdiff_t], am_cv_type_ptrdiff_t,
  7.      [AC_TRY_COMPILE([#include <stddef.h>], [ptrdiff_t p],
  8.              am_cv_type_ptrdiff_t=yes, am_cv_type_ptrdiff_t=no)])
  9.    if test $am_cv_type_ptrdiff_t = yes; then
  10.      AC_DEFINE(HAVE_PTRDIFF_T,1,[Define if system has ptrdiff_t type])
  11.    fi
  12. ])
  13.